#include"Stack.h"
void Test()
{
	Stack pst ;
	StackInit(&pst);
	StackPush(&pst, 1);
	StackPush(&pst, 2);
	StackPush(&pst, 3);
	StackPush(&pst, 4);
	StackPush(&pst, 4);
	StackPush(&pst, 4);
	StackPush(&pst, 4);
	StackPush(&pst, 4);
	//StackPop(&pst);
	//StackPop(&pst);
	//StackPop(&pst);
	//StackPop(&pst);
	printf("%d\n", StackEmpty(&pst));
	printf("%d\n", StackFull(&pst));
	printf("%d\n", StackTop(&pst));
	printf("%d\n", pst.capacity);
	printf("%d\n", StackSize(&pst));
	StackPrint(&pst);
	//StackDestroy(&pst);
	//StackPrint(&pst);
}
int main()
{
	Test();
	return 0;
}